package com.sh.data.engine.job.admin.core.util;

/**
 * @author tinglan.ys
 * @description:
 * @date 2022/2/24 下午4:28
 */
public enum TaskScheduleCycle {
    month(0),
    week(1),
    day(2),
    hour(3),
    minute(4),
    ;

    private int key;

    TaskScheduleCycle(int key) {
        this.key = key;
    }

    public int getKey() {
        return this.key;
    }
}
